
//***********************************************************************
//	File:		Enemy.cpp
//	Author:		
//	Course:		SGP 1405
//	Purpose:	
//***********************************************************************
//***********************************************************************
//	Purposfully left blank for all comments regarding this file 
//	
//	
//	
//***********************************************************************



#include "Enemy.h"


Enemy::Enemy(float posX, float posY)
{
	m_pTarget = nullptr; 
}

void Enemy::Update(float dt)
{
	//Last line of function
	Entity::Update(dt);
}

void Enemy::Render()
{

}

void Enemy::HandleCollision(const IEntity* pOther)
{

}

void Enemy::HandleEvent()
{

}

SGD::Rectangle Enemy::GetRect() const
{
	return SGD::Rectangle{}; 
}

void Enemy::ModifyHealth(float hpAmount)
{

}

void Enemy::ApplyFriction(float dt)
{

}

//Enemy Interface
void Enemy::Attack(float dt)
{

}

void Enemy::Move(void)
{

}

void Enemy::SetTarget(Entity* pTarget)
{
	if (m_pTarget != nullptr)
		m_pTarget->Release(); 

	m_pTarget = pTarget;

	if (m_pTarget != nullptr)
		m_pTarget->AddRef(); 
}